import request from '@/utils/request'

// 获取订单列表
export function getOrderList(data) {
    return request({
        url: '/order/list',
        method: 'get',
        params: data
    })
}
//补充资料
export function supplementData({ orderId, supplement, file }) {
    return request({
        url: '/order/addSupplement' ,
        method: 'get',
        params: { orderId, supplement, file }
    })
}
//生成文书相关订单
export function createDocumentOrder(data) {
    return request({
        url: '/order/generateFileOrder?price='+data,
        method: 'get',
    })
}